package com.hzau.tourist_service_sys.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    @TableId(type = IdType.AUTO)
    private Integer userId;
    private String userName;
    @JsonProperty("password")
    private String password;
    private Integer age;
    private Integer gender;
    private String phoneNumber;
    @JsonProperty("idCard")
    private String idCard;
    private String email;
    private Integer tag;

}